from django.shortcuts import render

from django.http import HttpResponse
from django.core.cache import cache
def index(request):
    path = request.path
    cache.set("path", path)
    print(cache.get('path'))
    return HttpResponse("ok")

